<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ include file="/WEB-INF/jsp/business/include/doctype.jsp" %>
<script type="text/javascript">
function formCheck() {
	var frm = document.form;	
	if(trim(frm.Contents.value) == "") {
		alert("내용을 입력하세요.");
		frm.Contents.value="";
		frm.Contents.focus();
		return false;
	}
	if (confirm('댓글을 수정하시겠습니까?')) {
		return true;
	}
	return false;
}
</script>
</head>
<body>
	<div id="wrap">
		<div class="header">
			<h1>코오롱지식인</h1>
		</div><!-- // header -->
		<div class="content">
			<div class="news knowledge">
				<ul>
					<li><span class="bold">${viewMap.Title}</span><br /> ${viewMap.UserName} ${viewMap.CreateDate} 조회: ${viewMap.ViewCnt}</li>
				</ul>
				<h4>댓글수정</h4>
				<form name="form" action="${requestScope.contextPath}/business/mKolonInt/mKolonIntComentModify.do" method="post" onsubmit="return formCheck();" >
				<input type="hidden" name="ArticleCD" value="${viewMap.ArticleCD}" />
				<input type="hidden" name="CommentCD" value="${CommentCD}" />
				<input type="text" name="Contents" value="${AContents}" id="Contents" class="intxt2" />
				<div class="btn_area2">
					<p><input type="image" src="${requestScope.contextPath}/images/btn/btn_modify4.gif" alt="수정" />&nbsp;&nbsp; <img src="${requestScope.contextPath}/images/btn/btn_reset.gif" alt="취소" onclick="history.back(-1);" /></p>
				</div>
				</form>				
			</div>
		</div><!-- // content -->
	</div><!-- // wrap -->
</body>
</html>